<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        $stu[]="张三";
        $stu[]="男";
        echo $stu[1];
        
        $arr=array("苹果","香蕉","柚子","梨");
        echo $arr[2];
        //
        $ff[]="";
        $ff[]="男";
        echo $ff[1];
        
        //关联数组
        $info=array("id"=>1,"name"=>"李四");
        echo $info["name"];
        ?>
    </body>
</html>
